package com.hllxd.hism.star.basic.service.dao.mapper.mis;

import com.hllxd.hism.star.basic.service.model.RtMetricSyncConfig;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RtMetricSyncConfigMapper {

    List<RtMetricSyncConfig> listRtMetricSyncConfig();

    long insertRtMetricSyncConfig(RtMetricSyncConfig aa);

    long updateRtMetricSyncConfig(RtMetricSyncConfig aa);

    RtMetricSyncConfig getOneRtMetricSyncConfig(@Param("id") Long id);

    long updateRtMetricSyncConfigAction(@Param("id") Long id);

    long updateRtMetricSyncConfigEnable(@Param("id") Long id, @Param("isEnable") Integer isEnable);
}
